package org.dromara.system.pojo.bo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import org.dromara.common.web.core.domain.BaseBO;

import java.io.Serial;

/**
 * 系统授权表 BO。
 *
 * @author mkj
 * @since 2024-07-20
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@Schema(description = "系统授权表")
public class SysClientBO extends BaseBO {

    @Serial
    private static final long serialVersionUID = 1L;


    @Schema(description = "id")
    private String id;

    @Schema(description = "客户端编号")
    private String clientCode;

    @Schema(description = "客户端名称")
    private String clientName;

    @Schema(description = "客户端秘钥")
    private String clientSecret;

    @Schema(description = "授权类型")
    private String grantType;

    @Schema(description = "设备类型")
    private String deviceType;

    @Schema(description = "token活跃超时时间")
    private Integer activeTimeout;

    @Schema(description = "token固定超时")
    private Integer timeout;

    @Schema(description = "状态（1正常 0停用）")
    private Integer status;
}
